#!/bin/sh

easkill email calendar
if [ $1 = "email" ]
then
    adb push ~/Desktop/EmailProvider.db data/data/com.android.email/databases
elif [ $1 = "calendar" ]
then
    adb push ~/Desktop/calendar.db data/data/com.android.providers.calendar/databases
elif [ $1 = "contact" ]
then
    adb push ~/Desktop/contacts2.db data/data/com.android.providers.contacts/databases
fi
